# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-spelling
_pkgname=sphinxcontrib-spelling
pkgver=4.3.0
pkgrel=1
pkgdesc="Sphinx spelling extension"
url="https://pypi.python.org/pypi/sphinxcontrib-spelling"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx py3-enchant"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-spelling" # Backwards compatibility
provides="py-sphinxcontrib-spelling=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0d1575079be7994df905de02d31ad2c9c3af9634a487fbc9c565067fcbef6c36fd4fbd326ccbee4b40b3ff14696ad85a97c68018a956ff3e2f7e1be46bb3a074  sphinxcontrib-spelling-4.3.0.tar.gz"
